package org.yxt.springcloud.service.impl;

import org.apache.catalina.StoreManager;
import org.springframework.stereotype.Service;
import org.yxt.springcloud.mapper.StorageMapper;
import org.yxt.springcloud.service.StorageService;

import javax.annotation.Resource;

@Service
public class StorageServiceImpl implements StorageService {

    @Resource
    private StorageMapper storageMapper;

    @Override
    public void updateDetract(int productId, int count) {
        storageMapper.updateDetract(productId, count);
    }
}
